package org.shop.service;

import java.util.Map;
import org.shop.entity.Praise;
import org.shop.service.base.BaseService;

public interface PraiseService extends BaseService<Praise, Long> {
	
	/**
	 * app根据条件获取点赞信息
	 * @param params
	 * @return
	 */
	public Praise getPraise(Map<String, Object> params);
	
	/**
	 * app根据targetId获取点赞量
	 * @param params
	 * @return
	 */
	public int getPraiseCount(Map<String, Object> params);
}